package com.crr.mapper;

import com.crr.bean.Attr;
import com.crr.bean.AttrValue;
import com.crr.crud.MyBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttrValueMapper extends MyBaseMapper<AttrValue> {
    /**
     * 批量保存属性值
     * @param attrId
     * @param attrValueList
     * @return
     */
    int batchSave(@Param("attrId") int attrId,@Param("attrValueList") List<AttrValue> attrValueList);
}
